package com.example.pc.updata.DaTi;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.example.pc.updata.Baes.BaseActivity;
import com.example.pc.updata.R;
import com.example.pc.updata.tools.ActivityTools;

import butterknife.BindView;
import butterknife.ButterKnife;

public class IndexActivity extends BaseActivity {

    @BindView(R.id.fankui)
    Button fankui;
    @BindView(R.id.dati)
    Button dati;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_index);
        ButterKnife.bind(this);
        fankui.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ActivityTools.goActivity(IndexActivity.this,FanKuiListActivity.class);
            }
        });
        dati.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ActivityTools.goActivity(IndexActivity.this,AdminTiActivity.class);
            }
        });
    }
}
